<template>
  <view class="content">
    <tabBar :activeIndex="0" />
    <view class="right-content">
      <image class="logo" src="/static/logo.png"></image>
      <view class="text-area">
        <text class="title">{{ title }}</text>
		<u-button type="primary" size="large" text="跳转"  @click="autograph"></u-button>
      </view>
    </view>
  </view>
</template>

<script>
import { getUsers } from "@/common/api.js";
export default {
  data() {
    return {
      title: "Hello",
      value1: 0,
    };
  },
  onLoad() {
    // this.getUsers();
  },
  methods: {
	  autograph() {
		  uni.navigateTo({
		    url: `/pages/fileEdit?url=`+`http://192.168.250.14/vue/index-mo.html`,
		  });
	  },
    // async getUsers() {
    //   let res = await getUsers({ q: "zhangsan" });
    //   console.log(res);
    // },
  },
};
</script>

<style lang="scss">
//引入转换为vw
@import "@/static/css/_px2vw.scss";
.content {
  // display: flex;
  // flex-direction: row;
  // align-items: center;
  // justify-content: center;
  .right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    .logo {
      height: vw(100);
      width: vw(100);
      margin-top: vw(100);
      margin-bottom: vw(25);
    }

    .text-area {
      display: flex;
      justify-content: center;
    }

    .title {
      font-size: vw(18);
      color: #8f8f94;
    }
  }
}
</style>
